package com.sundi.ecmarket.service;

import com.sundi.ecmarket.dto.IssueDto;
import com.sundi.ecmarket.entity.EcIssue;
import com.baomidou.mybatisplus.service.IService;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 常见问题表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-23
 */
public interface IEcIssueService extends IService<EcIssue> {

    List<EcIssue> selectIssueList(IssueDto issueDto);

    void updateLogicDel(Integer id);


    EcIssue getStuXiaOrder(Integer id);

    XSSFWorkbook downLoadGoodsExcel(IssueDto issueDto) throws InvocationTargetException, ClassNotFoundException, IntrospectionException, ParseException, IllegalAccessException, Exception;

    void uplodExcel(MultipartFile file) throws Exception;
}
